package com.hyl.boottest.mapper;

import com.hyl.boottest.entity.ReturnPerson;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReturnPersonMapper {

    //新增
    int insert(ReturnPerson record);

    //根据id查询
    ReturnPerson selectById(Integer id);

    //修改
    int updateById(ReturnPerson record);

    List<ReturnPerson> findByPage(@Param("returndate") String returndate,
                                  @Param("offSet") Integer offSet,
                                  @Param("showSize") Integer showSize);


    int findCount(String returndate);
}